Repository navigation
Remove unused v2 options - #12432
Open
philderbeast wants to merge 4 commits into
Open
Remove unused v2 options#12432philderbeast wants to merge 4 commits into
philderbeast wants to merge 4 commits into
Conversation
philderbeast
force-pushed
the
remove/unused-v2-options
branch
3 times, most recently
from
October 9, 2026 18:37
320c1ae to
46bb1f6
Compare
philderbeast
force-pushed
the
remove/unused-v2-options
branch
from
October 10, 2026 13:26
46bb1f6 to
31c3808
Compare
andreabedini
self-requested a review
October 12, 2026 07:28
andreabedini
approved these changes
Oct 12, 2026
- Use allow lists instead of deny lists - Add tests that these v1 options are classified - Some v1 options are now not accepted by any v2 command: --user, --global, --enable-deterministic, --disable-deterministic, --ipid, --cid, --instantiate-with, --disable-response-files, --allow-depending-on-private-libs, --coverage-for, --ignore-build-tools, --reinstall, --avoid-reinstalls, --upgrade-dependencies, --shadow-installed-packages, --root-cmd and the hidden --only - Kept although Legacy does not convert them: --enable/--disable-append and --enable/--disable-backup are read by configure --force-reinstalls by install --lib --dependencies-only is an alias of --only-dependencies
philderbeast
force-pushed
the
remove/unused-v2-options
branch
from
October 12, 2026 11:32
31c3808 to
e9201b6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #12431. Be more explicit about which v1 options v2 command use. Also see #7437.
Options no longer accepted by v2 commands
--user--global--enable-deterministic--disable-deterministic--ipid--cid--instantiate-with--disable-response-files--allow-depending-on-private-libs--coverage-for--ignore-build-tools--reinstall--avoid-reinstalls--upgrade-dependencies--shadow-installed-packages--root-cmd--onlyPassing one of the above options now errors as unrecognized, as #8556 made
--bindirdo forcabal install.I'll squash commits before applying the merge label if this pull request is approved.
significance: significantin the changelog file.